package ynu.edu.elmspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import ynu.edu.elmspringboot.po.Business;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    @Select("select * from business where order_type_id = #{orderTypeId}")
    List<Business> slectBusinessByOrderTypeId(Integer orderTypeId);

}